package com.then.component.login.ui.register;

import com.then.architecture.VOCreator;
import com.then.component.login.BR;
import com.then.component.login.R;
import com.then.component.login.databinding.ActivityRegisterCompleteBinding;
import com.then.component.login.ui.base.LoginModuleDelegate;

/**
 * Created by 42524 on 2018/1/25.
 */

public class RegisterCompleteDelegate extends LoginModuleDelegate<RegisterCompleteVo, ActivityRegisterCompleteBinding> {
    @Override
    public int getRootLayoutId() {
        return R.layout.activity_register_complete;
    }

    @Override
    protected VOCreator createVo() {
        return new VOCreator(RegisterCompleteVo.class, BR.vo);
    }


    protected String  getNickName(){
        return vo.nickName.get();
    }

    protected String getPersonSign(){
        return vo.personSign.get();
    }

    protected void setAvatarPath(String avatarPath) {
        vo.avatarPath.set(avatarPath);
    }

    protected void setCircle(boolean circle) {
        vo.isCircle.set(circle);
    }

    protected void setLocal(boolean local) {
        vo.isLocal.set(local);
    }

}
